<?php

class Default_Form_Feedbackset extends Zend_Form {

	public function init() {
		$this->setMethod('post');
		
		$emails = $this->createElement('textarea', 'emails');
		$emails->setLabel(_('Comma-delimited list emails:'));
		$emails->setRequired(true);
		
		$redirect = $this->createElement('radio', 'redirect');
		$redirect->setLabel(_('Redirect mails:'));
		$redirect->addMultiOptions(array('yes' => _('Yes'), 'no' => _('No')));
		$redirect->setSeparator(' ');
		$redirect->setValue('yes');
		
		
		$submit = $this->createElement('submit', 'submit');
		$submit->setLabel(_('Submit'));
		
		$this->addElements(array($emails, $redirect, $submit));
	}
}